package com.basic.library.utils.download

import com.liulishuo.okdownload.DownloadTask
import com.liulishuo.okdownload.core.cause.EndCause


/**
 * @author yj
 * @description
 */
interface DownLoadCallBack {
    fun taskStart()
    fun progress(percent: Float)
    fun taskSuccess(task: DownloadTask)
    fun taskFail(task: DownloadTask, cause: EndCause, realCause: Exception?)
}